

//
//  gyViewController.m
//  tongxiangOASystem
//
//  Created by michael on 2017/4/27.
//  Copyright © 2017年 czd. Al/Users/chenlingling/Desktop/司法厅/maocuhuiOASystem/gyViewController.ml rights reserved.
//

#import "gyViewController.h"

@interface gyViewController ()

@end

@implementation gyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
self.view.backgroundColor = [UIColor whiteColor];
self.title = @"关于我们";
[self initview];
}
- (void)initview{
_image = [[UIImageView alloc]initWithFrame:CGRectMake((kScreenWidth-100)/2, 100, 100, 100)];

_image.image = [UIImage imageNamed:@"1、登录界面-logo"];
[self.view addSubview:_image];
_label = [[UILabel alloc]initWithFrame:CGRectMake((kScreenWidth-150)/2, _image.bottom+20, 150, 20)];

 NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
 
    NSString *appVersion = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
_label.text = [NSString stringWithFormat:@"版本号 :%@v",appVersion];
_label.textAlignment = NSTextAlignmentCenter;
_label.font = [UIFont systemFontOfSize:12];
[self.view addSubview:_label];
_label2 = [[UILabel alloc]initWithFrame:CGRectMake((kScreenWidth-200)/2, _label.bottom+20, 200, 20)];
_label2.textAlignment = NSTextAlignmentCenter;
_label2.font = [UIFont systemFontOfSize:12];
_label2.text = @"技术支持:杭州飞软软件有限公司";
[self.view addSubview:_label2];

}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
